package com.groupbuying.payconsumer.service.impl;

import com.groupbuying.payconsumer.dao.PayWechatpayResultDao;
import com.groupbuying.payconsumer.domain.PayWechatpayResultDO;
import com.groupbuying.payconsumer.service.PayWechatpayResultService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class PayWechatpayResultServiceImpl implements PayWechatpayResultService {
    @Autowired
    private PayWechatpayResultDao payWechatpayResultDao;

    @Override
    public PayWechatpayResultDO get(String id) {
        return payWechatpayResultDao.get(id);
    }

    @Override
    public List<PayWechatpayResultDO> list(Map<String, Object> map) {
        return payWechatpayResultDao.list(map);
    }

    @Override
    public int count(Map<String, Object> map) {
        return payWechatpayResultDao.count(map);
    }

    @Override
    public int save(PayWechatpayResultDO payWechatpayResult) {
        return payWechatpayResultDao.save(payWechatpayResult);
    }

    @Override
    public int update(PayWechatpayResultDO payWechatpayResult) {
        return payWechatpayResultDao.update(payWechatpayResult);
    }

    @Override
    public int remove(String id) {
        return payWechatpayResultDao.remove(id);
    }

    @Override
    public int batchRemove(String[] ids) {
        return payWechatpayResultDao.batchRemove(ids);
    }

}
